package volmgr

import (
	"net/http"
)

//all commands are served via http
func createVolumeHandler(w http.ResponseWriter, r *http.Request) {
	//invoke GLS to create a striped, replicated shard
	//insert its own central db
}
func deleteVolumeHandler(w http.ResponseWriter, r *http.Request) {
	//invoke GLS to remove the shard
	//update the db
}

func statVolumeHandler(w http.ResponseWriter, r *http.Request) {
	//query from the db
}
func reportVolumeHandler(w http.ResponseWriter, r *http.Request) {
	//update the db
}
